package com.woniuxy.admindao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管理员角色关联表
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("admin_role")
public class AdminRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId(value = "admin_role_id", type = IdType.AUTO)
    private Integer adminRoleId;

    /**
     * 管理员id
     */
    @TableField("admin_id")
    private Integer adminId;

    /**
     * 角色id 
     */
    @TableField("role_id")
    private Integer roleId;


}
